package com.atguigu.staservice.service.client;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author He Wentao
 * @since 2022/10/4 14:22
 */

@FeignClient("service-ucenter")
public interface UcenterClient {
    // 统计指定日期注册的人数
    @GetMapping("/educenter/member/countRegister/{day}")
    public R countRegister(@PathVariable("day")String day);
}
